﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Header.Master" AutoEventWireup="true" CodeBehind="PremiumPage.aspx.cs" Inherits="geekmeet.PremiumPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
 <script src="../Scripts/jquery.bgiframe-2.1.2.js" type="text/javascript"></script>
 <script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js" type="text/javascript"></script>
 <script src="../Scripts/geekmeet.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="mainWrapper">
<div class="centeredContent"><h1>Är du fingerfärdig?</h1>
<p class="premiumpage">En riktig nörd måste vara snabb med musen, men också uthållig!</p> 
<p class="premiumpage">Testa dig själv med vår klickometer - hur många klick klarar du på 15 sekunder?</p>
    <asp:Label ID="gameoverlabel" runat="server"></asp:Label>
    <br />
    <asp:Label ID="LblIfHighest" runat="server"></asp:Label>
<br />
<br />
    <img src="../images/site/klickometerButton.png" id="klickometerButton" 
        onclick="return btnClick();" />
    <br />
    <asp:LinkButton ID="LinkBtnGameover" runat="server" PostBackUrl="~/member/PremiumPage.aspx"></asp:LinkButton>
    <br />
    <label id="clicks"></label>
    <br />
    <label id="timer"></label>
    <br />
    <h2>Highscore:</h2>
     <asp:Repeater ID="HighscoreRepeater" runat="server" ClientIDMode="Predictable">
        <ItemTemplate>
            <div>
            <div> 
                    <%#DataBinder.Eval(Container.DataItem, "Place")%>.
                    <%#DataBinder.Eval(Container.DataItem, "UserName")%> - 
                    <%#DataBinder.Eval(Container.DataItem, "Highscore") %> poäng</div>
                </div>
            </div>
        </ItemTemplate>
     </asp:Repeater>
     </div>
</div>
</asp:Content>
